package cn.simon.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.validation.constraints.Pattern;

@Data
public class AddressVO {
    @TableId(type = IdType.AUTO)
    private int addressId;
    private int userId;
    private String addressName;
    @Pattern(regexp = "\\d{11}")
    private String addressPhone;
    private String addressProvince;
    private String addressCity;
    private String addressDistrict;
    private String addressDetail;
}
